package cc.catface.dao.biz.app.dto;

import cc.catface.dao.biz.app.ApArticle;
import cc.catface.dao.biz.app.ApArticleConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class ListByChannelIdOUTDTO {
    @ApiModelProperty(value = "总页数")
    private long total;
    @ApiModelProperty(value = "页数")
    private long page;
    @ApiModelProperty(value = "每页数量")
    private long pageSize;

    @ApiModelProperty("详细文章列表")
    private List<ArticleDetail> articleDetail;

    @Data
    @ApiModel
    public static class ArticleDetail {
        @ApiModelProperty(value = "文章信息")
        private ApArticle apArticle;
        @ApiModelProperty(value = "文章配置")
        private ApArticleConfig apArticleConfig;
        /*@ApiModelProperty(value = "文章内容")
        private ApArticleContent apArticleContent;*/
    }
}
